import java.util.*; public class testSort { String sort() { String x[]={"elephant", "tree", "apple"}; Arrays.sort(x); return Arrays.toString(x); } }